<div class="studentinfos index">
<h2><?php __('Studentinfos');?></h2>
<p>
<?php
echo $paginator->counter(array(
'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
));
?></p>
<table cellpadding="0" cellspacing="0">
<tr>
	<th><?php echo $paginator->sort('id');?></th>
	<th><?php echo $paginator->sort('student_id');?></th>
	<th><?php echo $paginator->sort('gender_id');?></th>
	<th><?php echo $paginator->sort('citizenship_id');?></th>
	<th><?php echo $paginator->sort('region_id');?></th>
	<th><?php echo $paginator->sort('educationdoctype_id');?></th>
	<th><?php echo $paginator->sort('foreignlanguage_id');?></th>
	<th><?php echo $paginator->sort('enrollment_date');?></th>
	<th><?php echo $paginator->sort('lastname');?></th>
	<th><?php echo $paginator->sort('firstname');?></th>
	<th><?php echo $paginator->sort('surname');?></th>
	<th><?php echo $paginator->sort('birthdate');?></th>
	<th><?php echo $paginator->sort('passport_ser');?></th>
	<th><?php echo $paginator->sort('passport_num');?></th>
	<th><?php echo $paginator->sort('passport_data');?></th>
	<th><?php echo $paginator->sort('passport_birth_place');?></th>
	<th><?php echo $paginator->sort('passport_adress');?></th>
	<th><?php echo $paginator->sort('adress');?></th>
	<th><?php echo $paginator->sort('schoolgraduated');?></th>
	<th><?php echo $paginator->sort('educationdocdata');?></th>
	<th><?php echo $paginator->sort('phone');?></th>
	<th><?php echo $paginator->sort('mobile');?></th>
	<th><?php echo $paginator->sort('email');?></th>
	<th><?php echo $paginator->sort('inn');?></th>
	<th><?php echo $paginator->sort('insurance');?></th>
	<th><?php echo $paginator->sort('pension_certificate');?></th>
	<th><?php echo $paginator->sort('inoculations');?></th>
	<th><?php echo $paginator->sort('moreinfo');?></th>
	<th><?php echo $paginator->sort('created');?></th>
	<th><?php echo $paginator->sort('modified');?></th>
	<th class="actions"><?php __('Actions');?></th>
</tr>
<?php
$i = 0;
foreach ($studentinfos as $studentinfo):
	$class = null;
	if ($i++ % 2 == 0) {
		$class = ' class="altrow"';
	}
?>
	<tr<?php echo $class;?>>
		<td>
			<?php echo $studentinfo['Studentinfo']['id']; ?>
		</td>
		<td>
			<?php echo $html->link($studentinfo['Student']['id'], array('controller' => 'students', 'action' => 'view', $studentinfo['Student']['id'])); ?>
		</td>
		<td>
			<?php echo $html->link($studentinfo['Gender']['name'], array('controller' => 'genders', 'action' => 'view', $studentinfo['Gender']['id'])); ?>
		</td>
		<td>
			<?php echo $html->link($studentinfo['Citizenship']['name'], array('controller' => 'citizenships', 'action' => 'view', $studentinfo['Citizenship']['id'])); ?>
		</td>
		<td>
			<?php echo $html->link($studentinfo['Region']['name'], array('controller' => 'regions', 'action' => 'view', $studentinfo['Region']['id'])); ?>
		</td>
		<td>
			<?php echo $html->link($studentinfo['Educationdoctype']['name'], array('controller' => 'educationdoctypes', 'action' => 'view', $studentinfo['Educationdoctype']['id'])); ?>
		</td>
		<td>
			<?php echo $html->link($studentinfo['Foreignlanguage']['name'], array('controller' => 'foreignlanguages', 'action' => 'view', $studentinfo['Foreignlanguage']['id'])); ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['enrollment_date']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['lastname']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['firstname']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['surname']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['birthdate']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['passport_ser']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['passport_num']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['passport_data']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['passport_birth_place']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['passport_adress']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['adress']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['schoolgraduated']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['educationdocdata']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['phone']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['mobile']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['email']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['inn']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['insurance']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['pension_certificate']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['inoculations']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['moreinfo']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['created']; ?>
		</td>
		<td>
			<?php echo $studentinfo['Studentinfo']['modified']; ?>
		</td>
		<td class="actions">
			<?php echo $html->link(__('View', true), array('action' => 'view', $studentinfo['Studentinfo']['id'])); ?>
			<?php echo $html->link(__('Edit', true), array('action' => 'edit', $studentinfo['Studentinfo']['id'])); ?>
			<?php echo $html->link(__('Delete', true), array('action' => 'delete', $studentinfo['Studentinfo']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $studentinfo['Studentinfo']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
</table>
</div>
<div class="paging">
	<?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>
 | 	<?php echo $paginator->numbers();?>
	<?php echo $paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('New Studentinfo', true), array('action' => 'add')); ?></li>
		<li><?php echo $html->link(__('List Students', true), array('controller' => 'students', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Student', true), array('controller' => 'students', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Genders', true), array('controller' => 'genders', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Gender', true), array('controller' => 'genders', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Citizenships', true), array('controller' => 'citizenships', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Citizenship', true), array('controller' => 'citizenships', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Regions', true), array('controller' => 'regions', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Region', true), array('controller' => 'regions', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Educationdoctypes', true), array('controller' => 'educationdoctypes', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Educationdoctype', true), array('controller' => 'educationdoctypes', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Foreignlanguages', true), array('controller' => 'foreignlanguages', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Foreignlanguage', true), array('controller' => 'foreignlanguages', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Babies', true), array('controller' => 'babies', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Baby', true), array('controller' => 'babies', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Contracts', true), array('controller' => 'contracts', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Contract', true), array('controller' => 'contracts', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Mates', true), array('controller' => 'mates', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Mate', true), array('controller' => 'mates', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Relatives', true), array('controller' => 'relatives', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Relative', true), array('controller' => 'relatives', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Targetingintakes', true), array('controller' => 'targetingintakes', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Targetingintake', true), array('controller' => 'targetingintakes', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Privileges', true), array('controller' => 'privileges', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Privilege', true), array('controller' => 'privileges', 'action' => 'add')); ?> </li>
	</ul>
</div>
